package com.zhucan.elastics.application.command.assembler;

import com.zhucan.elastics.application.command.cmd.EmployeeCreateCommand;
import com.zhucan.elastics.application.query.dto.EmployeeDTO;
import com.zhucan.elastics.domain.Employee;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

/**
 * @author: zhuCan
 * @date: 2019/12/20 9:58
 * @description:
 */
@Mapper(componentModel = "spring")
@Component
public interface EmployeeAssembler extends MapStruct<Employee, EmployeeCreateCommand, EmployeeDTO> {
}
